package com.temp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.temp.dto.SearchRoleDTO;
import com.temp.entity.Role;
import com.temp.vo.CustomPageVO;
import com.temp.vo.UserRolePermissionVO;

import java.util.List;

public interface RoleService extends IService<Role> {

    List<UserRolePermissionVO> findUserRolesAndPermissions(Long userId);

    CustomPageVO<Role> findAllRoles(SearchRoleDTO roleDTO);
}
